package com.yfeng.goodjuhome.service;

import com.yfeng.exception.DownloadException;
import com.yfeng.exception.UploadException;
import org.apache.commons.fileupload.FileItem;

import java.io.InputStream;
import java.util.HashMap;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: user
 * Date: 2010-8-13
 * Time: 21:02:19
 * To change this template use File | Settings | File Templates.
 */
public interface IFileService {
               public String uploadFile(HashMap<String,String> formMap, List<FileItem> filelist)throws UploadException;  

 public InputStream downloadFile(String fileID,String pageCount)throws DownloadException;
}
